﻿#include "component.h"
#include "Clock/clock.h"
#include <QString>

void* GetNewComponent()
{
    return new Clock();
}

const char* GetComponentName()
{
    return QStringLiteral("时钟").toUtf8().data();
}

const char* GetComponentDescription()
{
    QString strDes = "";
    strDes += QStringLiteral("时钟功能");
    strDes += "\n";
    return strDes.toUtf8().data();
}
